//
//  MYKURLManager.m
//  ZFGT
//
//  Created by apple on 2017/12/19.
//  Copyright © 2017年 allyoubank.com. All rights reserved.
// 


#import "MYKURLManager.h"


@implementation MYKURLModel

@end


@implementation MYKURLManager

+ (NSString *)baseUrl:(MYKURLManagerType)type {
    
    switch (type) {
        case common:
            return [self appCommon];
        case html5: {
            return [self html5];
        }
    }
}

+ (NSString *)appCommon
{
#ifdef DEBUG
    return @"http://192.168.0.150:10072/";

#else
    return @"https://api.miaoyinlicai.com/";

#endif
    
}

+ (NSString *)html5
{
#ifdef DEBUG
    //测试地址
    return @"http://testapi.miaoyinlicai.com/iframepage/";
    
#else
    return @"http://api.miaoyinlicai.com/iframepage/";
    
#endif
}


@end

